package com.jeff.android.lab.architecture.mvp.base;

import com.jeff.android.lab.BaseFragment;

public abstract class BaseMvpFragment<P extends BaseMvpPresenter> extends BaseFragment {

    protected P mPresenter;

    @Override
    public void onDestroy() {
        super.onDestroy();
        if (mPresenter != null)
            mPresenter.detachView();
    }

}
